package systems;

import models.SiteConfigModel;
import entities.SiteConfig;

public class ConfigSystem {
    private static SiteConfig configs = null;
    
    public static SiteConfig getConfigs() {
        if (configs == null) {
            SiteConfigModel sModel = SiteConfigModel.getInstance();
            setConfigs(sModel.getConfig(1));
        }
        return configs;
    }

    public static void setConfigs(SiteConfig configs) {
        ConfigSystem.configs = configs;
    }    
}
